package com.example.myapplication.beans;

public class Address {

    //地址实体类
    private String addrId;
    private String userId;
    private String receiverName;
    private String receiverMobile;
    private String province;
    private String city;
    private String area;
    private String addr;
    private String postCode;
    private int status;
    private int commonAddr;

    public Address(String addrId, String userId, String receiverName, String receiverMobile, String province, String city, String area, String addr, String postCode, int status, int commonAddr) {
        this.addrId = addrId;
        this.userId = userId;
        this.receiverName = receiverName;
        this.receiverMobile = receiverMobile;
        this.province = province;
        this.city = city;
        this.area = area;
        this.addr = addr;
        this.postCode = postCode;
        this.status = status;
        this.commonAddr = commonAddr;
    }

    public Address() {
    }

    @Override
    public String toString() {
        return "Address{" +
                "addrId='" + addrId + '\'' +
                ", userId='" + userId + '\'' +
                ", receiverName='" + receiverName + '\'' +
                ", receiverMobile='" + receiverMobile + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", area='" + area + '\'' +
                ", addr='" + addr + '\'' +
                ", postCode='" + postCode + '\'' +
                ", status=" + status +
                ", commonAddr=" + commonAddr +
                '}';
    }

    public String getAddrId() {
        return addrId;
    }

    public void setAddrId(String addrId) {
        this.addrId = addrId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getReceiverName() {
        return receiverName;
    }

    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName;
    }

    public String getReceiverMobile() {
        return receiverMobile;
    }

    public void setReceiverMobile(String receiverMobile) {
        this.receiverMobile = receiverMobile;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getPostCode() {
        return postCode;
    }

    public void setPostCode(String postCode) {
        this.postCode = postCode;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getCommonAddr() {
        return commonAddr;
    }

    public void setCommonAddr(int commonAddr) {
        this.commonAddr = commonAddr;
    }
}
